package uk.ac.sanger.das.dasregistry.springrest.sources;





import java.util.Date;

import org.biodas.jdas.schema.servers.SERVERS;

import org.biodas.jdas.schema.sources.SOURCES;

public interface DasSourceDao {
	
	
	public SOURCES getAllDasSources();

	public SOURCES add(SOURCES sources);

	public int delete(String sourceUri);

	public SOURCES update(SOURCES sources);

	/**
	 * do we want this or just use update?
	 * @param sourceUri
	 * @return 
	 */
	public int activate(String sourceUri);

	public Date getLastModified();

	public SERVERS getServers();

}
